<!-- 统计数据 -->
<h1>statistics</h1>
  
{{ range $year, $months := .Site.RegularPages.ByDate.GroupByDate "2006" "Month" }}
    <details>
        <summary>
            {{ .Key }} {{ $months.Pages | len  }}
        </summary>
        {{ range $months.Pages -}}
            <div><a href="{{ .RelPermalink }}">{{ .Title }}</a></div>
        {{ end }}
    </details>
{{ end }}

{{ $data := getJSON "content/whispers/whispers.min.json" }}
{{ range $data }}
    {{ $t := .created_at }}
    {{ $t = time.AsTime $t }}
    {{ $t = $t.Format "2006-01-02 15:04 +0" }}
    {{ $t }}<br>
{{ end }}